<div id="content">
    <div id="page-heading">
        <h1>Response for survey <?=$survey['Survey']['title']?> (<?=$number_response?>)<?php echo $this->Html->link("See completed responses", array('controller' => "responses", 'action' => 'index',$survey['Survey']['id'], 'admin' => true),array('class'=>'button')); ?><?php echo $this->Html->link("Back to Survey", array('controller' => "surveys", 'action' => 'index', 'admin' => true),array('class'=>'button')); ?></h1>
    </div>
    <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
        <tr>
            <th rowspan="3" class="sized">
                <?php echo $this->Html->image('../images/shared/side_shadowleft.jpg', array('width' => '20', 'height' => '300', 'alt' => '')); ?>
            </th>
            <th class="topleft"></th>
            <td id="tbl-border-top">&nbsp;</td>
            <th class="topright"></th>
            <th rowspan="3" class="sized">
                <?php echo $this->Html->image('../images/shared/side_shadowright.jpg', array('width' => '20', 'height' => '300', 'alt' => '')); ?>
            </th>
	</tr>
	<tr>
            <td id="tbl-border-left"></td>
            <td>
                <div id="content-table-inner">
                    <div id="table-content">
                       <?php foreach($questions as $question){ 
                           echo $this->element("report_question",array("question"=>$question));
                        } ?>
                    <div class="clear"></div>
                </div>
            </td>
            <td id="tbl-border-right"></td>
	</tr>
	<tr>
            <th class="sized bottomleft"></th>
            <td id="tbl-border-bottom">&nbsp;</td>
            <th class="sized bottomright"></th>
	</tr>
	</table>
	<div class="clear">&nbsp;</div>

</div>
<script type="text/javascript">
jQuery(document).ready(function(){
            jQuery("#surveyMenu").addClass('current');
});
</script>